import request from '@/utils/request'

// 查询视频评论列表
export function listProspreview(query) {
  return request({
    url: '/project/prospreview/list',
    method: 'get',
    params: query
  })
}

// 查询视频评论详细
export function getProspreview(id) {
  return request({
    url: '/project/prospreview/' + id,
    method: 'get'
  })
}

// 新增视频评论
export function addProspreview(data) {
  return request({
    url: '/project/prospreview',
    method: 'post',
    data: data
  })
}

// 修改视频评论
export function updateProspreview(data) {
  return request({
    url: '/project/prospreview',
    method: 'put',
    data: data
  })
}

// 删除视频评论
export function delProspreview(id) {
  return request({
    url: '/project/prospreview/' + id,
    method: 'delete'
  })
}
